package com.ia.aistream.manager.system.impl;

import com.ia.aistream.manager.system.ISysDictDataManager;
import com.ia.aistream.mapper.system.SysDictDataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SysDictDataManagerImpl implements ISysDictDataManager {

    @Autowired
    private SysDictDataMapper dictDataMapper;

    /**
     * 根据字典类型和字典键值查询字典数据信息
     *
     * @param dictType 字典类型
     * @param dictValue 字典键值
     * @return 字典标签
     */
    @Override
    public String selectDictLabel(String dictType, String dictValue) {
        return dictDataMapper.selectDictLabel(dictType,dictValue);
    }
}
